package com.numbfish.ch_02.CyclicBarrier_run2.src.test.run;

import com.numbfish.ch_02.CyclicBarrier_run2.src.service.MyService;
import com.numbfish.ch_02.CyclicBarrier_run2.src.extthread.MyThreadA;
import com.numbfish.ch_02.CyclicBarrier_run2.src.extthread.MyThreadB;
import com.numbfish.ch_02.CyclicBarrier_run2.src.extthread.MyThreadC;

public class Run {

	public static void main(String[] args) throws InterruptedException {
//		MyService service = new MyService();
//		MyThreadA a = new MyThreadA(service);
//		a.setName("A");
//		MyThreadB b = new MyThreadB(service);
//		b.setName("B");
//		MyThreadC c = new MyThreadC(service);
//		c.setName("C");
//
//		a.start();
//		b.start();
//		c.start();
//
	}

}